import { stringify } from 'qs';
import { request,  }  from '../utils/request';
import { getConfig } from '../../config';
const config = getConfig();

// 获取系统日志列表
export async function queryCurrentMaintenance(params) {
  return request('/maintain/maintainmonitor/currentMaintain', {
    method: 'POST',
    body: params,
  });
}

// 获取系统日志列表
export async function queryMaintenancPlan(params) {
  return request('/maintain/maintainmonitor/maintainTask', {
    method: 'POST',
    body: params,
  });
}

// 获取系统日志列表
export async function queryMaintenancTrack(params) {
  return request('04010003', {
    method: 'POST',
    body: params,
  });
}


// 养护监控点位图
export async function queryMaintenancMap(params) {
  return request('/maintain/maintainmonitor/maintainMap', {
    method: 'POST',
    body: params,
  });
}
